package teleware.soe.core.dto;

import java.util.concurrent.ConcurrentHashMap;

/**
 * 映射池
 *
 * @author :hongsw
 * @date :2020-12-11 16:46
 */
public class MappingPool {
    /**
     * 资源映射池
     */
    private final ConcurrentHashMap<String, MethodMapping> resourceMappingPool = new ConcurrentHashMap<String, MethodMapping>();
    /**
     * 操作映射池
     */
    private final ConcurrentHashMap<String, MethodMapping> operationMappingPool = new ConcurrentHashMap<String, MethodMapping>();

    public ConcurrentHashMap<String, MethodMapping> getResourceMappingPool() {
        return resourceMappingPool;
    }

    public ConcurrentHashMap<String, MethodMapping> getOperationMappingPool() {
        return operationMappingPool;
    }
}
